<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MultiPowUpload ProgressInfo object</title>
<link href="style.css" rel="stylesheet" type="text/css" />

	
<style type="text/css">
<!--
.style2 {
	font-family: "Courier New", Courier, monospace;
	font-style: italic;
	font-size: 100%;
}
.style3 {
	font-size: 0.7%;
	font-style: italic;
}
-->
</style></head>

<body>
 <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td width="400">

                <span class="caption">MultiPowUpload </span><span class="yellow">3.1</span>
                <br /><span class="gray">ProgressInfo</span>
            </td>
            <td>&nbsp;
                
            </td>
             <td align="char" width="200"><img src="world.jpg" align="middle" hspace="5" /><b><a target="_blank" href="http://www.element-it.com/multiple-file-upload/flash-uploader.aspx">Home
      page</a></b><br />
                          <img src="email.jpg" align="middle" hspace="5" /><b><a target="_blank" href="http://www.element-it.com/contacts.aspx">Contact
                            support</a></b> </td>
        </tr>
</table>
 <p class="topic"><b>ProgressInfo object properties </b>&nbsp;
</p>
ProgressInfo object provides a way to access information of the download/upload progress. You cannot create a ProgressInfo object directly. You should obtain it by the <a href="Methods.html#getProgressInfo">getProgressInfo()</a> method of an MultiPowUpload object.
<br />
<!--<br><a href="#getFilesCount">getFilesCount method</a><br>
<br><a href="#getSelectedFilesCount">getSelectedFilesCount method</a><br>
<br><a href="#getTotalSize">getTotalSize method</a><br>
<br><a href="#getCurrentFileTotalSize">getCurrentFileTotalSize method</a><br>
<br><a href="#getBytesRead">getBytesRead method</a><br>
<br><a href="#getCurrentFileBytesRead">getCurrentFileBytesRead method</a><br>
<br><a href="#getBandwidth">getBandwidth method</a><br>
<br><a href="#getCurrentFileName">getCurrentFileName method</a><br>
<br><a href="#getCurrentFileIndex">getCurrentFileIndex method</a><br>
<br><a href="#getTotalPercent">getTotalPercent method</a><br>
<br><a href="#getCurrentFilePercent">getCurrentFilePercent method</a><br>
<br><a href="#timeLeftHour">timeLeftHour</a><br>
<br><a href="#minLeft">minLeft method</a><br>
<br><a href="#getSecLeft">getSecLeft method</a><br>
<br><a href="#getHoursElapsed">getHoursElapsed method</a><br>
<br><a href="#getMinElapsed">getMinElapsed method</a><br>
<br><a href="#getSecElapsed">getSecElapsed method</a><br>
<br><a href="#getFormattedStatus">getFormattedStatus method</a><br>
<br/><br/>-->

 <p class="topicLeft" name="totalFiles" id="totalFiles">totalFiles</p>
<div class="signature">
  <p>totalFiles: Number</p>
</div>
<h4>Description</h4>
<p>Total files count in the file list.</p>

<h4>Example</h4>
<p><code>var count=MultiPowUpload.getProgressInfo().totalFiles;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="filesInQueue" id="filesInQueue">filesInQueue</p>
<div class="signature">
  <p>filesInQueue: Number</p>
</div>
<h4>Description</h4>
<p>Count of selected for upload files.</p>

<h4>Example</h4>
<p><code>var count=MultiPowUpload.getProgressInfo().filesInQueue;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="totalSize" id="totalSize">totalSize</p>
<div class="signature">
  <p>totalSize: Number</p>
</div>
<h4>Description</h4>
<p>Total size of all files in a list. </p>

<h4>Example</h4>
<p><code>var totalSize=MultiPowUpload.getProgressInfo().totalSize;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="bytesInQueue" id="bytesInQueue">bytesInQueue</p>
<div class="signature">
  <p>bytesInQueue: Number</p>
</div>
<h4>Description</h4>
<p>Total size of all files selected for upload. </p>

<h4>Example</h4>
<p><code>var totalSize=MultiPowUpload.getProgressInfo().bytesInQueue;</code></p>
<p>&nbsp;</p>


 <p class="topicLeft" name="currentListItem" id="currentListItem">currentListItem</p>
<div class="signature">
  <p>currentListItem: ListItem</p>
</div>
<h4>Description</h4>
<p>Instance of the ListItem  object that is currently in progress. If there are no uploads in process, "null" is returned.</p>
<h4>Example</h4>
<p><code>var li = MultiPowUpload.getProgressInfo().currentListItem;</code>;</p>
<p>&nbsp;</p>

<p class="topicLeft" name="currentFileIndex" id="currentFileIndex">currentFileIndex</p>
<div class="signature">
  <p>currentFileIndex: Number</p>
</div>
<h4>Description</h4>
<p>Index of the file that is currently in progress.</p>
<h4>Example</h4>
<p><code>var currentFileIndex=MultiPowUpload.getProgressInfo().currentFileIndex;</code></p>
<p>&nbsp;</p>


 <p class="topicLeft"><br/><a name="currentFileUploadedBytes" id="currentFileUploadedBytes">currentFileUploadedBytes</p>
<div class="signature">
  <p>currentFileUploadedBytes: Number</p>
</div>
<h4>Description</h4>
<p>Amount of uploaded bytes of the file that is currently in progress.</p>

<h4>Example</h4>
<code>var fileBytesRead=MultiPowUpload.getProgressInfo().currentFileUploadedBytes;</code><br/>
<p>&nbsp;</p>

 <p class="topicLeft" name="currentFilePercent" id="currentFilePercent">currentFilePercent</p>
<div class="signature">
  <p>currentFilePercent: Number</p>
</div>
<h4>Description</h4>
<p>Percent of completion of the file that is currently in progress.</p>

<h4>Example</h4>
<p><code>var curFilePercent=MultiPowUpload.getProgressInfo().currentFilePercent;</code></p>
<p>&nbsp;</p>


<p class="topicLeft" name="totalPercent" id="totalPercent">totalPercent</p>
<div class="signature">
  <p>totalPercent: Number</p>
</div>
<h4>Description</h4>
<p>Total percent uploaded.</p>

<h4>Example</h4>
<p><code>var percent=MultiPowUpload.getProgressInfo().totalPercent;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="totalUploadedBytes" id="totalUploadedBytes">totalUploadedBytes</p>
<div class="signature">
  <p>totalUploadedBytes: Number</p>
</div>
<h4>Description</h4>
<p>Count of the uploaded bytes. </p>

<h4>Example</h4>
<p><code>var bytesRead=MultiPowUpload.getProgressInfo().totalUploadedBytes;</code></p>
<p>&nbsp;</p>


 <p class="topicLeft" name="uploadedFilesCount" id="uploadedFilesCount">uploadedFilesCount</p>
<div class="signature">
  <p>uploadedFilesCount: Number</p>
</div>
<h4>Description</h4>
<p>Count of the uploaded files. </p>

<h4>Example</h4>
<p><code>var uploadedFiles=MultiPowUpload.getProgressInfo().uploadedFilesCount;</code></p>
<p>&nbsp;</p>



 <p class="topicLeft" name="transferRate" id="transferRate">transferRate</p>
<div class="signature">
  <p>transferRate: Number</p>
</div>
<h4>Description</h4>
<p>Current bandwidth, in bytes per second.</p>
<h4>Example</h4>
<p><code>var bandwidth=MultiPowUpload.getProgressInfo().transferRate;</code></p>
<p>&nbsp;</p>
 
 
 

 <p class="topicLeft" name="transferRateString" id="transferRateString">transferRateString</p>
<div class="signature">
  <p>transferRateString: String</p>
</div>
<h4>Description</h4>
<p>String representation of the current bandwidth value.</p>
<h4>Example</h4>
<p><code>var bandwidth=MultiPowUpload.getProgressInfo().transferRateString;</code></p>
<p>&nbsp;</p>


<p class="topicLeft" name="timeLeft" id="timeLeft">timeLeft</p>
<div class="signature">
  <p>timeLeft: Number</p>
</div>
<h4>Description</h4>
<p>Count of the seconds left to finish an upload based on the average speed. </p>

<h4>Example</h4>
<p><code>var secondsLeftTotal=MultiPowUpload.getProgressInfo().timeLeft;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="timeLeftHour" id="timeLeftHour">timeLeftHour</p>
<div class="signature">
  <p>timeLeftHour: Number</p>
</div>
<h4>Description</h4>
<p>Count of the hours left to finish an upload, based on the average speed. </p>

<h4>Example</h4>
<p><code>var hoursLeft=MultiPowUpload.getProgressInfo().timeLeftHour;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="timeLeftMin" id="timeLeftMin">timeLeftMin</p>
<div class="signature">
  <p>timeLeftMin: Number</p>
</div>
<h4>Description</h4>
<p>Count of the minutes in hour left  to finish an upload, based on the average speed. Value from 0 to 60.</p>
<h4>Example</h4>
<p><code>var minLeft=MultiPowUpload.getProgressInfo().timeLeftMin;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="timeLeftSec" id="timeLeftSec">timeLeftSec</p>
<div class="signature">
  <p>timeLeftSec: Number</p>
</div>
<h4>Description</h4>
<p>Count of the seconds in minute left to finish an upload based on the average speed. Value from 0 to 60. </p>
<h4>Example</h4>
<p><code>var secLeft=MultiPowUpload.getProgressInfo().timeLeftSec;</code></p>
<p>&nbsp;</p>


<p class="topicLeft" name="elapsedTime" id="elapsedTime">elapsedTime</p>
 <div class="signature">
  <p>elapsedTime: Number</p>
</div>
<h4>Description</h4>
<p>Count of the seconds elapsed from beginning of the upload process. </p>

<h4>Example</h4>
<p><code>var elapsedSecondsTotal=MultiPowUpload.getProgressInfo().elapsedTime;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="elapsedHour" id="elapsedHour">elapsedHour</p>
 <div class="signature">
  <p>elapsedHour: Number</p>
</div>
<h4>Description</h4>
<p>Count of the hours elapsed from beginning of the upload process. </p>

<h4>Example</h4>
<p><code>var hoursElapse=MultiPowUpload.getProgressInfo().elapsedHour;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="elapsedMin" id="elapsedMin">elapsedMin</p>
<div class="signature">
  <p>elapsedMin: Number</p>
</div>
<h4>Description</h4>
<p>Count of the minutes in hour  elapsed from beginning of the upload process. Value from 0 to 60. </p>
<h4>Example</h4>
<p><code>var minElapsed=MultiPowUpload.getProgressInfo().elapsedMin;</code></p>
<p>&nbsp;</p>

 <p class="topicLeft" name="elapsedSec" id="elapsedSec">elapsedSec</p>
<div class="signature">
  <p>elapsedSec: Number</p>
</div>
<h4>Description</h4>
<p>Count of the seconds in minute elapsed from beginning of the upload process. Value from 0 to 60. </p>
<h4>Example</h4>
<p><code>var secLeft=MultiPowUpload.getProgressInfo().elapsedSec;</code></p>
<p>&nbsp;</p>
 

</body>
</html>